﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Service.Interface.admin
{
    [Provider_]
    public interface I_Home_Service
    {
        /// <summary>
        /// 获取近7日的收入趋势
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_IncomeTrend();

        /// <summary>
        /// 获取订单统计数据
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_OrderData();

        /// <summary>
        /// 获取今日的预约订单
        /// </summary>
        /// <param name="fenye_Dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_TodayAppointment(Fenye_Dto fenye_Dto);

        /// <summary>
        /// 获取今日的数据
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Today_Data();

        /// <summary>
        /// 获取消费top5的客户信息
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_TopCustomer();
    }
}
